<form id="edit-form" class="form-horizontal mf_form" role="form" data-toggle="validator" method="POST" action="">
    <div class="container">
        <div class="header_button_area">
            <button class="btn btn-success all_section_switcher" type="button" data-open="1">展开/聚合全部模块</button>
        </div>


        <div class="section">
            <div class="section_header">
                <div class="section_name">首页设置</div>
                <div class="toggle_section">
                    <button class="section_switcher section_open" type="button"></button>
                </div>
            </div>
            <div class="section_body">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">推荐产品:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="homepage_recommend_product" data-source="company/product/index" class="form-control selectpage" name="row[homepage_recommend_product]" type="text" value="{$data.homepage_recommend_product|default=''}" data-multiple="true">
                        <div class="note_text">设置最小2个， 第1个在PC版显示，全部数据在mobilc版显示</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">分享:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="homepage_share" data-source="company/share/index" class="form-control selectpage" name="row[homepage_share]" type="text" value="{$data.homepage_share|default=''}" data-multiple="true">
                        <div class="note_text">设置6个， 前5个在PC版显示，全部数据在mobilc版显示</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">PC版网站定制开发案例:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="homepage_pc_example" data-source="company/example/index" data-params='{"custom[example_type_id]":"1"}' class="form-control selectpage" name="row[homepage_pc_example]" type="text" value="{$data.homepage_pc_example|default=''}" data-multiple="true">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">PC版小程序开发案例:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="homepage_miniapp_example" data-source="company/example/index" data-params='{"custom[example_type_id]":"2"}' class="form-control selectpage" name="row[homepage_miniapp_example]" type="text" value="{$data.homepage_miniapp_example|default=''}" data-multiple="true">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">mobile版开发案例:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="homepage_mobile_example" data-source="company/example/index" class="form-control selectpage" name="row[homepage_mobile_example]" type="text" value="{$data.homepage_mobile_example|default=''}" data-multiple="true">
                        <div class="note_text">推荐数量为3个</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="section">
            <div class="section_header">
                <div class="section_name">网站定制开发</div>
                <div class="toggle_section">
                    <button class="section_switcher section_open" type="button"></button>
                </div>
            </div>
            <div class="section_body">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">分享视频:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="website_share" data-source="company/share/index" data-params='{"custom[share_type_id]":"1"}' class="form-control selectpage" name="row[website_share]" type="text" value="{$data.website_share|default=''}" data-multiple="true">
                        <div class="note_text">设置5个， 全部数据在PC版显示, 前3个数据在Mobile版本里显示</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">设计案例:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="website_example" data-source="company/example/index" data-params='{"custom[example_type_id]":"1"}' class="form-control selectpage" name="row[website_example]" type="text" value="{$data.website_example|default=''}" data-multiple="true">
                        <div class="note_text">设置6个， 全部数据在PC版显示, 前5个数据在Mobile版本里显示</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="section">
            <div class="section_header">
                <div class="section_name">小程序定制开发页</div>
                <div class="toggle_section">
                    <button class="section_switcher section_open" type="button"></button>
                </div>
            </div>
            <div class="section_body">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">分享视频:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="miniprogram_share" data-source="company/share/index" data-params='{"custom[share_type_id]":"1"}' class="form-control selectpage" name="row[miniprogram_share]" type="text" value="{$data.miniprogram_share|default=''}" data-multiple="true">
                        <div class="note_text">设置5个， 全部数据在PC版显示, 前3个数据在Mobile版本里显示</div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">设计案例:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="miniprogram_example" data-source="company/example/index" data-params='{"custom[example_type_id]":"2"}' class="form-control selectpage" name="row[miniprogram_example]" type="text" value="{$data.miniprogram_example|default=''}" data-multiple="true">
                        <div class="note_text">设置6个， 全部数据在PC版显示, 前5个数据在Mobile版本里显示</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="section">
            <div class="section_header">
                <div class="section_name">常规设置</div>
                <div class="toggle_section">
                    <button class="section_switcher section_open" type="button"></button>
                </div>
            </div>
            <div class="section_body">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">联系电话:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="contact_telephone" class="form-control" name="row[contact_telephone]" type="text" value="{$data.contact_telephone|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">工作时间:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="work_time" class="form-control" name="row[work_time]" type="text" value="{$data.work_time|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">地址:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="address" class="form-control" name="row[address]" type="text" value="{$data.address|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">咨询邮箱:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="email" class="form-control" name="row[email]" type="text" value="{$data.email|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">咨询微信（图片）:</label>
                    <div class="col-xs-12 col-sm-10">
                        <div class="input-group">
                            <input id="weixin_image" class="form-control" size="50" name="row[weixin_image]" type="text" value="{$data.weixin_image|default=''}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="weixin_image_a" class="btn btn-danger faupload cropper" data-input-id="weixin_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p_weixin_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="weixin_image_b" class="btn btn-primary fachoose" data-input-id="weixin_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-image"></span>
                        </div>
                        <ul class="row list-inline faupload-preview" id="p_weixin_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">咨询微信:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="weixin" class="form-control" name="row[weixin]" type="text" value="{$data.weixin|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">公众号（图片）:</label>
                    <div class="col-xs-12 col-sm-10">
                        <div class="input-group">
                            <input id="gzh_image" class="form-control" size="50" name="row[gzh_image]" type="text" value="{$data.gzh_image|default=''}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="gzh_image_a" class="btn btn-danger faupload cropper" data-input-id="gzh_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p_gzh_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="gzh_image_b" class="btn btn-primary fachoose" data-input-id="gzh_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-image"></span>
                        </div>
                        <ul class="row list-inline faupload-preview" id="p_gzh_image"></ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">公众号:</label>
                    <div class="col-xs-12 col-sm-10 control-relative">
                        <input id="gzh" class="form-control" name="row[gzh]" type="text" value="{$data.gzh|default=''}" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">地图:</label>
                    <div class="col-xs-12 col-sm-10">
                        <div class="input-group">
                            <input id="map_image" class="form-control" size="50" name="row[map_image]" type="text" value="{$data.map_image|default=''}">
                            <div class="input-group-addon no-border no-padding">
                                <span><button type="button" id="map_image_a" class="btn btn-danger faupload cropper" data-input-id="map_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p_map_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="map_image_b" class="btn btn-primary fachoose" data-input-id="map_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                            </div>
                            <span class="msg-box n-right" for="c-image"></span>
                        </div>
                        <ul class="row list-inline faupload-preview" id="p_map_image"></ul>
                    </div>
                </div>

            </div>
        </div>
        <br />
        <br />
        <br />

        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </div>



</form>

<style>
    .note_text {
        margin-top: 2px;
        font-size: 14px;
        color: #909193;

    }
</style>

